var checkLoginStatus = setInterval(function () {

	$.get("/Home/Index/checklogin", function (data) {
		try {
			var datainfo = eval("("+data+")");	
			if (datainfo.status == 401) {
	            clearInterval(checkLoginStatus);
	            checkLoginStatus = null;
	            layer.msg(datainfo.info, {icon: 4, shade: [0.5, '#000'], time: 0});
	            $(".layui-layer-content").css('background-color','#fff');
	            return false;
	        }	
		} catch(e){}
        
        
    });
    
    
}, 5000);

